<template>
<div class="all-header items-c ">
      <div  class="home-ion fanhui" @click="$router.push('/home')">
          返回
      </div>
      <label for="" class="home-input d-flex items-c" @click="$router.push('/search')"><i class="iconfont icon-fangdajing1 p-l f-12" style="color:#fff;font-size:0.12rem">药品名/供应商/厂家</i></label>
      <a  class="home-ion" @click="$router.push('/cart')">
        <svg class="icon home-linkIco" aria-hidden="true">
          <use xlink:href="#icon-icon22fuzhi"></use>
        </svg>
      </a>
      <a  class="home-ion"  @click="flag1=!flag1">
        <svg class="icon home-linkIco" aria-hidden="true">
          <use xlink:href="#icon-menu2"></use>
        </svg>
      </a>
    </div>
</template>
<script>
</script>

<style lang="scss" scoped>
@import '@/lib/reset.scss';
.all-header {
  height: 0.44rem;
  position: sticky;
  background: #36bc7c;
  padding: 0.05rem;
  display: flex;
  justify-content: space-around;
  .home-input{
    border-radius: 5rem;
    background: rgba(45,155,102,.8);
    height:0.25rem;
    width:2.47rem;
    // margin: auto 4.15rem auto 1.75rem;
  }
  .home-ion{
    display:block;
    overflow:hidden;
    .home-linkIco{
      font-size:0.2rem;
      transform:translateX(-80px);
      filter: drop-shadow(rgb(255, 255, 255) 80px 0);
    }
    .fanhui {
      display: block;
      font-size:0.2rem;
      color: #fff;
    }
  }
}
</style>
